package max.ta.util.logger;

import java.util.logging.Level;
import java.util.logging.Logger;


// http://www.vogella.de/articles/Logging/article.html#overview_logger
public class JdkLogger {

    // ---------------------------------------------------------------
    // FINEST-FINER-FINE-CONFIG-INFO-WARNING-SEVERE (highest)
    // ---------------------------------------------------------------

    private static final Level DEFAULT_LEVEL = Level.INFO;

    public static Logger getLogger(Class<?> loggerClass) {
	Logger logger = Logger.getLogger(loggerClass.getName());
	logger.setLevel(DEFAULT_LEVEL);
	return logger;
    }
}
